﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace MVlog.Core
{
    /// <summary>
    /// 标签
    /// </summary>
    [Table("Tag")]
    public class Tag:Entity<long>, IFullAudited
    {
        /// <summary>
        /// 标签名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 标签类型 （1-文章;2-视频）
        /// </summary>
        public int TagType { get; set; }


        public long? CreatorUserId { get ; set ; }
        public DateTime CreationTime { get; set; }
        public long? LastModifierUserId { get; set; }
        public DateTime? LastModificationTime { get; set; }
        public long? DeleterUserId { get; set; }
        public DateTime? DeletionTime { get; set; }
        public bool IsDeleted { get; set; }
    }
}
